home *** CD-ROM | disk | FTP | other *** search
/ Die Ultimative Software-P…i Collection 1996 & 1997 / Die Ultimative Software-Pakete CD-ROM fur Atari Collection 1996 & 1997.iso / u / utility / 1st_word / scientif.pub / wordplus / sciennp6.hex < prev    next >
Encoding:
Text File  |  1996-11-17  |  10.7 KB  |  232 lines

  1. ******************************************************************
  2. *                                                                *
  3. *      NEC P6 24-Pin Matrix Printer Driver Configuration Table   *
  4. *      used with part of the characterset downloaded into NEC P6 *         *
  5. *      to write scientific publications.  Armin Weltin           *
  6. *                                                                *
  7. *      This file contains tables defining the code sequences     *
  8. *      to be sent to the printer to perform various functions    * 
  9. *      and to access the characters from codes in the Atari      *
  10. *      character set.                                            *
  11. *      Information from the  DATA WELT 3/86 magazine is used.    *
  12. *                                                                *
  13. ******************************************************************
  14.  
  15. *
  16. * Name of printer
  17. * ===============
  18. *
  19.   NEC P6 scientific 03-11-86
  20. *
  21. * Miscellaneous configurable variables
  22. * ====================================
  23. *
  24. * 1: printer type, 0=dot matrix, 1=daisy wheel
  25. * 2: unit width of one character | graphics density 0=1=single,2=double
  26. * 3: unit height of one line     | graphics distance of 2 text lines in dots
  27. * 4: Approximate middle of carriage after formfeed
  28. * 5: Carriage shift for bold overstrike
  29. * 6: Pause between pages
  30. 0, 2, 8, 0, 0, 0 * unit height=8 only correct if LF=24/180
  31.  
  32. *
  33. * Printer characteristics
  34. * =======================
  35. *
  36. * This table specifies the printer command sequences.
  37. * If the top bit of a code is set, then this indicates the position
  38. * of a parameter passed to the printer. The code whose top bit is set
  39. * in this table is added to the parameter passed before being sent to the
  40. * printer. It is not used in all command sequences, only in those where 
  41. * the printer requires  a variable value such as the length of a vertical 
  42. * tab.
  43. *
  44. * 0                            * Character width
  45. 1, D, A                        * Linefeed WITH return
  46. * 2                            * Forward print
  47. * 3                            * Reverse print
  48. 4, 1B, 42, 80, 0, B            * Vertical tab to line (FX or LX)
  49. * 5                            * Absolute horizontal tab 
  50. 6, 1B, 45, 1B, 47              * Draft bold on    ------------------------- PRINT STYLES
  51. 7, 1B, 46, 1B, 48,    1B, 78,0 * Draft bold off
  52. 8, 1B, 45, 1B, 47              * Letter Quality (LQ) bold on 
  53. 9, 1B, 48, 1B, 46,    1B, 78,1 * LQ bold off                              
  54. A, 1B, 34                      * Draft Italic on
  55. B, 1B, 35                      * Draft Italic off
  56. C, 1B, 34                      * NLQ Italic on         
  57. D, 1B, 35                      * NLQ Italic off            
  58. *E                             * draft light on = DRAFT
  59. *F                             * draft light off
  60. 10, 1B, 78, 0                  * NLQ light on = draft 
  61. 11, 1B, 78, 1                  * NLQ light off =back to NLQ                 
  62. 12, 1B, 53, 0                  * Draft superscript on
  63. 13, 1B, 54                     * Draft superscript off
  64. 14, 1B, 53, 0                  * NLQ superscript on    
  65. 15, 1B, 54                     * NLQ superscript off
  66. 16, 1B, 53, 1                  * Draft subscript on
  67. 17, 1B, 54                     * Draft subscript off
  68. 18, 1B, 53, 1                  * NLQ subscript on 
  69. 19, 1B, 54                     * NLQ subscript off
  70. 1A, 1B, 2D, 1                  * Draft underline on
  71. 1B, 1B, 2D, 0                  * Draft underline off
  72. 1C, 1B, 2D, 1                  * NLQ underline on
  73. 1D, 1B, 2D, 0                  * NLQ underline off
  74. 1E, C                          * Formfeed
  75. 1F,1B,4D,1B,6C,08,1B,43,00,0C,1B,4F,1B,33,18*Horizontal initialisation (12cpi,LM=8,PL=12i,JU=off,LF=24/180) 
  76. 20, 1B, 42, 0, 0, B            * Vertical initialisation   ( VT to line 0)
  77. *21, 1B, 40                     * Termination: printer reset
  78. 22, 8                          * Backspace
  79. 23, D                          * Carriage return 
  80. *24, 1B, 43, 80                 * Form length in lines (variable)
  81. 25, 1B, 41, 80                 * Set graphics line feed to N units (n/60 inch,variable)
  82. 26, 1B, 4C                     * Start graphics (120*60DPI)
  83. 0                              * NULL termination byte
  84.  
  85. *
  86. * Translation Table
  87. * =================
  88. *
  89. * This table provides translation from single Atari input bytes into
  90. * multiple NEC P6 printer codes, and is useful for printing extraneous
  91. * characters such as accented characters etc. All characters are 
  92. * subjected to translation, but if there is no entry in the table for
  93. * a particular code, then the original code is sent to the printer.
  94. * ESC,%,$0=1B,25,0 internal characterset (IBM international chosen)
  95. * ESC,%,$1=1B,25,1 userdefined characterset
  96. * The entries must be arranged in ascending order of Atari input
  97. * code. The table is NULL terminated.
  98.  
  99.  0, 0 *NULL=NULL, 0 TO 31 ARE NOT TRANSLATED SINCE NOT ACCESSABLE BY 1ST WORD PLUS
  100. 20,20 *$20 TO $7F not translated since standard IBM international set
  101. 80,E2 * big gamma
  102. 81,81 * Ü
  103. 82,1B,25, 1, 2,1B,25, 0 * big delta (Userdef Char)
  104. 83,E9 * big theta
  105. 84,84 * ä
  106. 85,1B,25, 1, 5,1B,25, 0 * big lambda (Userdef Char)
  107. 86,1B,25, 1, 6,1B,25, 0 * big xi     (Userdef Char)
  108. 87,E3 * big pi
  109. 88, D, A * CR LF                          (control)
  110. 89, D    * CR                             (control)
  111. 8A,1C,45, 1 * horizontal enlarged once ON (control)
  112. 8B,1C,45, 0 * "          "        OFF     (control)
  113. 8C,1B,51,58,1B,61, 1 * CE: RM=88,center text in line on (off by <TE>v<FO>v<FB>) (control)
  114. 8D,1B,55, 0,1B,51,FF,1B,61, 0 * FB: bidirectional,rm=255,left justified (control)
  115. 8E,8E * Ä
  116. 8F,E4 * big sigma
  117. 90,1B,25, 1,10,1B,25, 0 * big ypsilo(Userdef Char)
  118. 91,E8 * big phi
  119. 92, 8 * BS: backspace               (control)
  120. 93,1B,25, 1,13,1B,25, 0 * big psi   (Userdef Char)
  121. 94,94 * ö
  122. 95,EA * big omega
  123. 96,1B,25, 1,16,1B,25, 0 * <=        (Userdef Char)
  124. 97,1B,25, 1,17,1B,25, 0 * =>        (Userdef Char)
  125. 98,1B,55, 1,1B,51,FF,1B,61,0,1B,4D * FO: unidirektional,RM=255,left adjusted,12cpi (control)
  126. 99,99 * Ö
  127. 9A,9A * Ü
  128. 9B,1B * ES : escape                 (control)
  129. 9C,1B,55, 0,1B,51,58,1B,61, 3,1B,4D * TE: bidirektional,RM=88,block adjusted,12cpi (control)
  130. 9D,1B,25, 1,1D,1B,25, 0 * < ket     (Userdef Char)
  131. 9E,E1 * eszet printed as small greek beta
  132. 9F,1B,25, 1,1F,1B,25, 0 * > bra     (Userdef Char)
  133. A0,8F * Angstroem
  134. A1,E0 * small alpha
  135. A2,E1 * small beta
  136. A3,1B,25, 1,23,1B,25, 0 * small gamma (Userdef Char)
  137. A4,EB * small delta
  138. A5,EE * small epsilon
  139. A6,1B,25, 1,26,1B,25, 0 * small zeta (Userdef Char)
  140. A7,FC * small eta
  141. A8,1B,25, 1,28,1B,25, 0 * sma theta (Userdef Char)
  142. A9,1B,25, 1,29,1B,25, 0 * sma iota  (Userdef Char)
  143. AA,1B,25, 1,2A,1B,25, 0 * sma kappa (Userdef Char)
  144. AB,1B,25, 1,2B,1B,25, 0 * sma lambda(Userdef Char)
  145. AC,E6 * small mu
  146. AD,1B,25, 1,2D,1B,25, 0 * sma nu    (Userdef Char)
  147. AE,1B,25, 1,2E,1B,25, 0 * sma xi    (Userdef Char)
  148. AF,1B,25, 1,2F,1B,25, 0 * sma pi    (Userdef Char)
  149. B0,1B,25, 1,30,1B,25, 0 * sma rho   (Userdef Char)
  150. B1,E5 * small sigma
  151. B2,E7 * small tau
  152. B3,1B,25, 1,33,1B,25, 0 * sma ypsilon(Userdef Char)
  153. B4,1B,25, 1,34,1B,25, 0 * sma phi   (Userdef Char)
  154. B5,1B,25, 1,35,1B,25, 0 * sma chi   (Userdef Char)
  155. B6,1B,25, 1,36,1B,25, 0 * sma psi   (Userdef Char)
  156. B7,1B,25, 1,37,1B,25, 0 * sma omega (Userdef Char)
  157. B8,1B,25, 1,38,1B,25, 0 * sma partial differential (Userdef Char)
  158. B9,1B,25, 1,39,1B,25, 0 * nabla     (Userdef Char)
  159. BA,1B,25, 1,3A,1B,25, 0 * h bar     (Userdef Char)       
  160. BB,1B,25, 1,3B,1B,25, 0 * black fill(Userdef Char)
  161. BC,1B,25, 1,3C,1B,25, 0 * light grey fill (Userdef char)
  162. BD,1B,25, 1,3D,1B,25, 0 * left hatched (Userdef Char)
  163. BE,1B,25, 1,3E,1B,25, 0 * right hatched (Userdef Char)
  164. BF,1B,25, 1,3F,1B,25, 0 * dark grey fill (Userdef Char)
  165. C0,1B,25, 1,40,1B,25, 0 * '- graphics (Userdef Char)
  166. C1,1B,25, 1,41,1B,25, 0 * -'        (Userdef Char)
  167. C2,1B,25, 1,42,1B,25, 0 * -,        (Userdef Char)
  168. C3,1B,25, 1,43,1B,25, 0 * ,-        (Userdef Char)
  169. C4,1B,25, 1,44,1B,25, 0 * -|        (Userdef Char)
  170. C5,1B,25, 1,45,1B,25, 0 * |-        (Userdef Char)
  171. C6,1B,25, 1,46,1B,25, 0 * -'-       (Userdef Char)
  172. C7,1B,25, 1,47,1B,25, 0 * -,-       (Userdef Char)
  173. C8,1B,25, 1,48,1B,25, 0 * - or fraction bar or extension sum sign (Userdef Char)
  174. C9,1B,25, 1,49,1B,25, 0 * |         (Userdef Char)
  175. CA,1B,25, 1,4A,1B,25, 0 * >|        (Userdef Char)
  176. CB,1B,25, 1,4B,1B,25, 0 * |<        (Userdef Char)
  177. CC,1B,25, 1,4C,1B,25, 0 * -v-       (Userdef Char)
  178. CD,1B,25, 1,4D,1B,25, 0 * -^-       (Userdef Char)
  179. CE,1B,25, 1,4E,1B,25, 0 * >v<       (Userdef Char)
  180. CF,1B,25, 1,4F,1B,25, 0 * ( big top (Userdef Char)
  181. D0,1B,25, 1,50,1B,25, 0 * ) big top (Userdef Char)
  182. D1,1B,25, 1,51,1B,25, 0 * ( big bot (Userdef Char)
  183. D2,1B,25, 1,52,1B,25, 0 * ) big bot (Userdef Char)
  184. D3,1B,25, 1,53,1B,25, 0 * -|- graphics (Userdef Char)
  185. D4,1B,25, 1,54,1B,25, 0 * { big cent(Userdef Char)
  186. D5,1B,25, 1,55,1B,25, 0 * } big cent(Userdef Char)
  187. D6,1B,25, 1,56,1B,25, 0 * upper part integral (Userdef Char)
  188. D7,1B,25, 1,57,1B,25, 0 * lower part integral (Userdef Char)
  189. D8,1B,25, 1,58,1B,25, 0 * sum sign top (Userdef Char)
  190. D9,1B,25, 1,59,1B,25, 0 * sum sign bot (Userdef Char)
  191. DA,1B,25, 1,5A,1B,25, 0 * top bar with BS gives antiparticles (Userdef Char)
  192. DB,EC * infinity
  193. DC,1B,25, 1,5B,1B,25, 0 *-----------------------(Userdef Char) (unused)
  194. DD,15 * paragraph sign
  195. DE,F7 * about equal
  196. DF,1B,25, 1,5F,1B,25, 0 * circle    (Userdef Char)
  197. E0,1B,25, 1,60,1B,25, 0 * >>        (Userdef Char)
  198. E1,1B,25, 1,61,1B,25, 0 * <<        (Userdef Char)
  199. E2,F2 * >=
  200. E3,F3 * <=
  201. E4,F1 * +-
  202. E5,F0 * identical
  203. E6,1B,25, 1,66,1B,25, 0 * =|=       (Userdef Char)
  204. E7,1B,25, 1,67,1B,25, 0 * cross     (Userdef Char)
  205. E8,F6 * divide sign
  206. E9,FA * scalar product
  207. EA,1B,25, 1,6A,1B,25, 0 * open dot  (Userdef Char)
  208. EB,1B,25, 1,6B,1B,25, 0 * ->        (Userdef Char)
  209. EC,1B,25, 1,6C,1B,25, 0 * <-        (Userdef Char)
  210. ED,1B,25, 1,6D,1B,25, 0 * ^         (Userdef Char)
  211. EE,1B,25, 1,6E,1B,25, 0 * v         (Userdef Char)
  212. EF,1B,25, 1,6F,1B,25, 0 * proportional (Userdef Char)
  213. F0,1B,25, 1,70,1B,25, 0 * integral  (Userdef Char)
  214. F1,1B,25, 1,71,1B,25, 0 * sum       (Userdef Char)
  215. F2,1B,25, 1,72,1B,25, 0 * root bot  (Userdef Char)
  216. F3,1B,25, 1,73,1B,25, 0 * root cent (Userdef Char)
  217. F4,1B,25, 1,74,1B,25, 0 * root top  (Userdef Char)
  218. F5,1B,25, 1,75,1B,25, 0 * ----------(Userdef Char) (unused)
  219. F6,1B,25, 1,76,1B,25, 0 * element of(Userdef Char)
  220. F7,EF * cross section of sets
  221. F8,F8 * degree symbol
  222. F9,1B,25, 1,79,1B,25, 0 * dagger    (Userdef Char)
  223. FA,1B,25, 1,7A,1B,25, 0 * star      (Userdef Char)
  224. FB,1B,25, 1,7B,1B,25, 0 * hat       (Userdef Char)
  225. FC,1B,25, 1,7C,1B,25, 0 * wiggle    (Userdef Char)
  226. FD,1B,25, 1,7D,1B,25, 0 * dx/dt dot (Userdef Char)
  227. FE,1B,25, 1,7E,1B,25, 0 * d2x/dt2 dots (Userdef Char)
  228. FF,1B,25, 1,7F,1B,25, 0 * vector    (Userdef Char)
  229. 0
  230.  
  231.